<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body,
        html {
          height: 100%;
        }
        .container {
          border: 1px solid #ddd;
          height: 100%;
          /*核心代码*/
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
        }
        .container .img {
          width: 100px;
          height: 100px;
          background-color: #ddd;
          border-radius: 100%;
          overflow: hidden; /*超出部分显示隐藏*/
        }
      </style>
</head>
<body>
    <div class="container">
        <div class="img"><img src="../meinv.jpg" alt="" srcset=""></div>
        <div class="title">标题</div>
        <div class="info">内容信息</div>
      </div>
</body>
</html>